package cn.ly.domain.trade.model.entity;

import lombok.*;

/**
 * 拼团退单行动实体
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TradeRefundBehaviorEntity {

    /**
     * 用户id
     */
    private String userId;
    /**
     * 订单id
     * */
    private String orderId;
    /**
     * 组队id
     * */
    private String teamId;

    /**
     * 行为枚举
     */
    private TradeRefundBehaviorEnum tradeRefundBehaviorEnum;

    @Getter
    @AllArgsConstructor
    @NoArgsConstructor
    public  enum TradeRefundBehaviorEnum{
        SUCCESS("success", "成功"),
        REPEAT("repeat", "重复"),
        FAIL("fail", "失败"),

        ;

        private String code;
        private String info;
    }
}
